﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace OneEightySquaredDbScripter
{
    public class ScriptingGroup
    {
        public ScriptingGroup()
        {
        }

        public ScriptingGroup(string groupName)
        {
            GroupName = groupName;
            Schema = new List<string>();
            Sprocs = new List<string>();
            Views = new List<string>();
        }

        [XmlAttribute]
        public string GroupName { get; set; }

        [XmlArray]
        public List<string> Schema { get; set; }

        [XmlArray]
        public List<string> Sprocs { get; set; }

        [XmlArray]
        public List<string> Views { get; set; }
    }
}
